<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\District
 *
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\District newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\District newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\District query()
 * @mixin \Eloquent
 * @property int $id
 * @property string $adcode 行政编码
 * @property string $name 名字
 * @property string $center 经纬度
 * @property string $level 级别
 * @property int $parent_id
 * @property int $sort 排序
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\District whereAdcode($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\District whereCenter($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\District whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\District whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\District whereLevel($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\District whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\District whereParentId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\District whereSort($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\District whereUpdatedAt($value)
 */
class District extends Model
{
    protected $table = 'districts';
    protected $fillable = ['citycode','adcode','name','center','level'];
}
